<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
   
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="d7c45ed2da92463ebf754a8303f66cbd" class="chart-container" style="width:100%; height:700px;"></div>
    <script>
        var chart_d7c45ed2da92463ebf754a8303f66cbd = echarts.init(
            document.getElementById('d7c45ed2da92463ebf754a8303f66cbd'), 'white', {renderer: 'canvas'});
        var option_d7c45ed2da92463ebf754a8303f66cbd = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "graph",
            "layout": "force",
            "symbolSize": 10,
            "circular": {
                "rotateLabel": false
            },
            "force": {
                "repulsion": 2500,
                "edgeLength": 50,
                "gravity": 0.2
            },
            "label": {
                "show": true,
                "position": "inside",
                "margin": 8,
                "formatter": function (x) { var strs = x.data.name;   var n='';    var str='centernode';   if(strs.search(str)!=-1) {return  n;}   var strs = x.data.name.split('|')[0];  if(strs.length<=6){                       return strs;                   }else {                       name = strs.slice(0,6) + '...';                        return name;                   }}
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "roam": true,
            "draggable": true,
            "focusNodeAdjacency": "true",
            "data": [
                {
                    "name": "\u5e15\u7f57\u897f\u6c40|drug",
                    "des": "\u5e15\u7f57\u897f\u6c40",
                    "category": 6,
                    "symbolSize": 90
                },
                {
                    "name": "cure_disease|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "use|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "forbid|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "attention|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "uneffect|centernode",
                    "symbolSize": 20
                },
                {
                    "name": "\u7531\u4e8e\u5242\u578b\u53ca\u89c4\u683c\u4e0d\u540c\uff0c\u7528\u6cd5\u7528\u91cf\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u836f\u54c1\u8bf4\u660e\u4e66\u6216\u9075\u533b\u5631\u3002|use",
                    "des": "\u7531\u4e8e\u5242\u578b\u53ca\u89c4\u683c\u4e0d\u540c\uff0c\u7528\u6cd5\u7528\u91cf\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u836f\u54c1\u8bf4\u660e\u4e66\u6216\u9075\u533b\u5631\u3002",
                    "category": 2,
                    "symbolSize": 70
                },
                {
                    "name": "\u8f7b\u5fae\u800c\u77ed\u6682\u3002\u5e38\u89c1\u7684\u6709\u8f7b\u5ea6\u53e3\u5e72\u3001\u6076\u5fc3\u3001\u538c \u98df\u3001\u4fbf\u79d8\u3001\u5934\u75bc\u3001\u9707\u98a4\u3001\u4e4f\u529b\u3001\u5931\u7720\u548c\u6027\u529f\u80fd\u969c\u788d\u3002\u5076\u89c1\u795e\n\u7ecf\u6027\u6c34\u80bf\u3001\u8368\u9ebb\u75b9\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u3002\u7f55\u89c1\u9525\u4f53\u5916\u7cfb\u53cd\u5e94\u7684\u62a5\u9053\u3002|uneffect",
                    "des": "\u8f7b\u5fae\u800c\u77ed\u6682\u3002\u5e38\u89c1\u7684\u6709\u8f7b\u5ea6\u53e3\u5e72\u3001\u6076\u5fc3\u3001\u538c \u98df\u3001\u4fbf\u79d8\u3001\u5934\u75bc\u3001\u9707\u98a4\u3001\u4e4f\u529b\u3001\u5931\u7720\u548c\u6027\u529f\u80fd\u969c\u788d\u3002\u5076\u89c1\u795e\n\u7ecf\u6027\u6c34\u80bf\u3001\u8368\u9ebb\u75b9\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u3002\u7f55\u89c1\u9525\u4f53\u5916\u7cfb\u53cd\u5e94\u7684\u62a5\u9053\u3002",
                    "category": 5,
                    "symbolSize": 70
                },
                {
                    "name": "\u5bf9\u672c\u54c1\u8fc7\u654f\u8005\u7981\u7528\u3002\u5b55\u5987\u548c\u54fa\u4e73\u671f\u5987\u5973\u4e0d\u5b9c\u4f7f\u7528\u3002|forbid",
                    "des": "\u5bf9\u672c\u54c1\u8fc7\u654f\u8005\u7981\u7528\u3002\u5b55\u5987\u548c\u54fa\u4e73\u671f\u5987\u5973\u4e0d\u5b9c\u4f7f\u7528\u3002",
                    "category": 3,
                    "symbolSize": 70
                },
                {
                    "name": "\u53c2\u89c1\u6c1f\u897f\u6c40\u3002\u2460\u670d\u7528\u672c\u836f\u524d\u540e\u4e24\u5468\u5185\u4e0d\u80fd\u4f7f\u7528 MA0Is\u3002\u2461\u6709\u766b\u75eb\u6216\u8e81\u72c2\u75c5\u53f2\u3001\u95ed\u89d2\u578b\u9752\u5149\u773c\u3001\u6709\u51fa\u8840\u503e\u5411\u3001\u6709\u81ea\u6740\u503e\u5411\u8005\u6216\u4e25\u91cd\u6291\n\u90c1\u72b6\u6001\u75c5\u53f2\u8005\u614e\u7528\u3002\u809d\u3001\u80be\u529f\u80fd\u4e0d\u5168\u8005\u4ecd\u53ef\u5b89\u5168\u4f7f\u7528\uff0c\u4f46\u5e94\u964d\u4f4e\u5242\u91cf\u3002\u2462\u4e00\u6b21\u6027\u7ed9\u836f\u540e,\u53ef\u51fa\u73b0\u8f7b\u5fae\u7684\u5fc3\u7387\u51cf\u6162\u3001\u8840\u538b\u6ce2\u52a8\uff0c\u4e00\u822c\u65e0\u4e34\u5e8a\n\u610f\u4e49,\u4f46\u5bf9\u6709\u5fc3\u8840\u7ba1\u75be\u75c5\u6216\u65b0\u53d1\u73b0\u6709\u5fc3\u808c\u6897\u6b7b\u8005\uff0c\u5e94\u6ce8\u610f\u5176\u53cd\u5e94\u3002\u2463\u670d\u75281?3\u5468\u540e\u65b9\u53ef\u663e\u6548\u3002\u7528\u836f\u65f6\u95f4\u8db3\u591f\u957f\u624d\u53ef\u5de9\u56fa\u7597\u6548\u3002\u6291\u90c1\u75c7\u3001\n\u5f3a\u8feb\u75c7\u3001\u60ca\u6050\u969c\u788d\u7684\u7ef4\u6301\u6cbb\u7597\u671f\u5747\u8f83\u957f\u3002\u2464\u6709\u62a5\u9053\u8fc5\u901f\u505c\u836f\u53ef\u5f15\u8d77\u7efc\u5408\u5f81:\u7761\u7720\u969c\u788d\u3001\u6fc0\u60f9\u6216\u7126\u8651\u3001\u6076\u5fc3\u3001\u51fa\u6c57\u3001\u610f\u8bc6\u6a21\u7cca\u3002\u4e3a\u907f\u514d\u505c\u836f\n\u53cd\u5e94\uff0c\u63a8\u8350\u64a4\u836f\u65b9\u6848:\u6839\u636e\u60a3\u8005\u8010\u53d7\u60c5\u51b5\uff0c\u5982\u679c\u80fd\u591f\u8010\u53d7\uff0c\u4ee5\u6bcf\u546810mg\u7684\u901f\u5ea6\u51cf\u91cf\uff0c\u81f3\u6bcf\u65e520mg\u7684\u5242\u91cf\u5e94\u7ef4\u6301\u53e3\u670d1\u5468\u518d\u505c\u836f\u3002\n\u5982\u679c\u4e0d\u80fd\u8010\u53d7\u53ef\u964d\u4f4e\u6240\u51cf\u5242\u91cf\uff0c\u5982\u60a3\u8005\u53cd\u5e94\u5f3a\u70c8\uff0c\u5219\u53ef\u8003\u8651\u56de\u590d\u539f\u5242\u91cf\u3002|attention",
                    "des": "\u53c2\u89c1\u6c1f\u897f\u6c40\u3002\u2460\u670d\u7528\u672c\u836f\u524d\u540e\u4e24\u5468\u5185\u4e0d\u80fd\u4f7f\u7528 MA0Is\u3002\u2461\u6709\u766b\u75eb\u6216\u8e81\u72c2\u75c5\u53f2\u3001\u95ed\u89d2\u578b\u9752\u5149\u773c\u3001\u6709\u51fa\u8840\u503e\u5411\u3001\u6709\u81ea\u6740\u503e\u5411\u8005\u6216\u4e25\u91cd\u6291\n\u90c1\u72b6\u6001\u75c5\u53f2\u8005\u614e\u7528\u3002\u809d\u3001\u80be\u529f\u80fd\u4e0d\u5168\u8005\u4ecd\u53ef\u5b89\u5168\u4f7f\u7528\uff0c\u4f46\u5e94\u964d\u4f4e\u5242\u91cf\u3002\u2462\u4e00\u6b21\u6027\u7ed9\u836f\u540e,\u53ef\u51fa\u73b0\u8f7b\u5fae\u7684\u5fc3\u7387\u51cf\u6162\u3001\u8840\u538b\u6ce2\u52a8\uff0c\u4e00\u822c\u65e0\u4e34\u5e8a\n\u610f\u4e49,\u4f46\u5bf9\u6709\u5fc3\u8840\u7ba1\u75be\u75c5\u6216\u65b0\u53d1\u73b0\u6709\u5fc3\u808c\u6897\u6b7b\u8005\uff0c\u5e94\u6ce8\u610f\u5176\u53cd\u5e94\u3002\u2463\u670d\u75281?3\u5468\u540e\u65b9\u53ef\u663e\u6548\u3002\u7528\u836f\u65f6\u95f4\u8db3\u591f\u957f\u624d\u53ef\u5de9\u56fa\u7597\u6548\u3002\u6291\u90c1\u75c7\u3001\n\u5f3a\u8feb\u75c7\u3001\u60ca\u6050\u969c\u788d\u7684\u7ef4\u6301\u6cbb\u7597\u671f\u5747\u8f83\u957f\u3002\u2464\u6709\u62a5\u9053\u8fc5\u901f\u505c\u836f\u53ef\u5f15\u8d77\u7efc\u5408\u5f81:\u7761\u7720\u969c\u788d\u3001\u6fc0\u60f9\u6216\u7126\u8651\u3001\u6076\u5fc3\u3001\u51fa\u6c57\u3001\u610f\u8bc6\u6a21\u7cca\u3002\u4e3a\u907f\u514d\u505c\u836f\n\u53cd\u5e94\uff0c\u63a8\u8350\u64a4\u836f\u65b9\u6848:\u6839\u636e\u60a3\u8005\u8010\u53d7\u60c5\u51b5\uff0c\u5982\u679c\u80fd\u591f\u8010\u53d7\uff0c\u4ee5\u6bcf\u546810mg\u7684\u901f\u5ea6\u51cf\u91cf\uff0c\u81f3\u6bcf\u65e520mg\u7684\u5242\u91cf\u5e94\u7ef4\u6301\u53e3\u670d1\u5468\u518d\u505c\u836f\u3002\n\u5982\u679c\u4e0d\u80fd\u8010\u53d7\u53ef\u964d\u4f4e\u6240\u51cf\u5242\u91cf\uff0c\u5982\u60a3\u8005\u53cd\u5e94\u5f3a\u70c8\uff0c\u5219\u53ef\u8003\u8651\u56de\u590d\u539f\u5242\u91cf\u3002",
                    "category": 4,
                    "symbolSize": 70
                },
                {
                    "name": "\u6291\u90c1\u75c7|disease",
                    "des": "\u6291\u90c1\u75c7",
                    "category": 1,
                    "symbolSize": 70
                },
                {
                    "name": "\u7ecf\u524d\u5fc3\u5883\u6076\u52a3\u969c\u788d|disease",
                    "des": "\u7ecf\u524d\u5fc3\u5883\u6076\u52a3\u969c\u788d",
                    "category": 1,
                    "symbolSize": 70
                },
                {
                    "name": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d|disease",
                    "des": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d",
                    "category": 1,
                    "symbolSize": 70
                },
                {
                    "name": "\u5fc3\u5883\u969c\u788d|disease",
                    "des": "\u5fc3\u5883\u969c\u788d",
                    "category": 1,
                    "symbolSize": 70
                }
            ],
            "categories": [
                {},
                {
                    "name": "disease"
                },
                {
                    "name": "use"
                },
                {
                    "name": "forbid"
                },
                {
                    "name": "attention"
                },
                {
                    "name": "uneffect"
                },
                {
                    "name": "drug"
                }
            ],
            "edgeLabel": {
                "show": true,
                "margin": 8,
                "formatter": function (x) {return x.data.name;}
            },
            "edgeSymbol": [
                "circle",
                "arrow"
            ],
            "edgeSymbolSize": [
                4,
                10
            ],
            "links": [
                {
                    "source": "\u5e15\u7f57\u897f\u6c40|drug",
                    "target": "cure_disease|centernode",
                    "name": "cure_disease"
                },
                {
                    "source": "\u5e15\u7f57\u897f\u6c40|drug",
                    "target": "use|centernode",
                    "name": "use"
                },
                {
                    "source": "\u5e15\u7f57\u897f\u6c40|drug",
                    "target": "forbid|centernode",
                    "name": "forbid"
                },
                {
                    "source": "\u5e15\u7f57\u897f\u6c40|drug",
                    "target": "attention|centernode",
                    "name": "attention"
                },
                {
                    "source": "\u5e15\u7f57\u897f\u6c40|drug",
                    "target": "uneffect|centernode",
                    "name": "uneffect"
                },
                {
                    "source": "use|centernode",
                    "target": "\u7531\u4e8e\u5242\u578b\u53ca\u89c4\u683c\u4e0d\u540c\uff0c\u7528\u6cd5\u7528\u91cf\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u836f\u54c1\u8bf4\u660e\u4e66\u6216\u9075\u533b\u5631\u3002|use",
                    "name": " "
                },
                {
                    "source": "uneffect|centernode",
                    "target": "\u8f7b\u5fae\u800c\u77ed\u6682\u3002\u5e38\u89c1\u7684\u6709\u8f7b\u5ea6\u53e3\u5e72\u3001\u6076\u5fc3\u3001\u538c \u98df\u3001\u4fbf\u79d8\u3001\u5934\u75bc\u3001\u9707\u98a4\u3001\u4e4f\u529b\u3001\u5931\u7720\u548c\u6027\u529f\u80fd\u969c\u788d\u3002\u5076\u89c1\u795e\n\u7ecf\u6027\u6c34\u80bf\u3001\u8368\u9ebb\u75b9\u3001\u4f53\u4f4d\u6027\u4f4e\u8840\u538b\u3002\u7f55\u89c1\u9525\u4f53\u5916\u7cfb\u53cd\u5e94\u7684\u62a5\u9053\u3002|uneffect",
                    "name": " "
                },
                {
                    "source": "forbid|centernode",
                    "target": "\u5bf9\u672c\u54c1\u8fc7\u654f\u8005\u7981\u7528\u3002\u5b55\u5987\u548c\u54fa\u4e73\u671f\u5987\u5973\u4e0d\u5b9c\u4f7f\u7528\u3002|forbid",
                    "name": " "
                },
                {
                    "source": "attention|centernode",
                    "target": "\u53c2\u89c1\u6c1f\u897f\u6c40\u3002\u2460\u670d\u7528\u672c\u836f\u524d\u540e\u4e24\u5468\u5185\u4e0d\u80fd\u4f7f\u7528 MA0Is\u3002\u2461\u6709\u766b\u75eb\u6216\u8e81\u72c2\u75c5\u53f2\u3001\u95ed\u89d2\u578b\u9752\u5149\u773c\u3001\u6709\u51fa\u8840\u503e\u5411\u3001\u6709\u81ea\u6740\u503e\u5411\u8005\u6216\u4e25\u91cd\u6291\n\u90c1\u72b6\u6001\u75c5\u53f2\u8005\u614e\u7528\u3002\u809d\u3001\u80be\u529f\u80fd\u4e0d\u5168\u8005\u4ecd\u53ef\u5b89\u5168\u4f7f\u7528\uff0c\u4f46\u5e94\u964d\u4f4e\u5242\u91cf\u3002\u2462\u4e00\u6b21\u6027\u7ed9\u836f\u540e,\u53ef\u51fa\u73b0\u8f7b\u5fae\u7684\u5fc3\u7387\u51cf\u6162\u3001\u8840\u538b\u6ce2\u52a8\uff0c\u4e00\u822c\u65e0\u4e34\u5e8a\n\u610f\u4e49,\u4f46\u5bf9\u6709\u5fc3\u8840\u7ba1\u75be\u75c5\u6216\u65b0\u53d1\u73b0\u6709\u5fc3\u808c\u6897\u6b7b\u8005\uff0c\u5e94\u6ce8\u610f\u5176\u53cd\u5e94\u3002\u2463\u670d\u75281?3\u5468\u540e\u65b9\u53ef\u663e\u6548\u3002\u7528\u836f\u65f6\u95f4\u8db3\u591f\u957f\u624d\u53ef\u5de9\u56fa\u7597\u6548\u3002\u6291\u90c1\u75c7\u3001\n\u5f3a\u8feb\u75c7\u3001\u60ca\u6050\u969c\u788d\u7684\u7ef4\u6301\u6cbb\u7597\u671f\u5747\u8f83\u957f\u3002\u2464\u6709\u62a5\u9053\u8fc5\u901f\u505c\u836f\u53ef\u5f15\u8d77\u7efc\u5408\u5f81:\u7761\u7720\u969c\u788d\u3001\u6fc0\u60f9\u6216\u7126\u8651\u3001\u6076\u5fc3\u3001\u51fa\u6c57\u3001\u610f\u8bc6\u6a21\u7cca\u3002\u4e3a\u907f\u514d\u505c\u836f\n\u53cd\u5e94\uff0c\u63a8\u8350\u64a4\u836f\u65b9\u6848:\u6839\u636e\u60a3\u8005\u8010\u53d7\u60c5\u51b5\uff0c\u5982\u679c\u80fd\u591f\u8010\u53d7\uff0c\u4ee5\u6bcf\u546810mg\u7684\u901f\u5ea6\u51cf\u91cf\uff0c\u81f3\u6bcf\u65e520mg\u7684\u5242\u91cf\u5e94\u7ef4\u6301\u53e3\u670d1\u5468\u518d\u505c\u836f\u3002\n\u5982\u679c\u4e0d\u80fd\u8010\u53d7\u53ef\u964d\u4f4e\u6240\u51cf\u5242\u91cf\uff0c\u5982\u60a3\u8005\u53cd\u5e94\u5f3a\u70c8\uff0c\u5219\u53ef\u8003\u8651\u56de\u590d\u539f\u5242\u91cf\u3002|attention",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u6291\u90c1\u75c7|disease",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u7ecf\u524d\u5fc3\u5883\u6076\u52a3\u969c\u788d|disease",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u60c5\u611f\u6027\u5fc3\u5883\u969c\u788d|disease",
                    "name": " "
                },
                {
                    "source": "cure_disease|centernode",
                    "target": "\u5fc3\u5883\u969c\u788d|disease",
                    "name": " "
                }
            ],
            "tooltip": {
                "show": true,
                "trigger": "item",
                "triggerOn": "mousemove|click",
                "axisPointer": {
                    "type": "line"
                },
                "formatter": function (x) { if(x.dataType === 'edge'){return x.data.name;} var strs = x.data.des;  var str = ''; for(var i = 0, s; s = strs[i++];) { if(i==500){str+='...'; break;} str += s; if(!(i % 50)) str += '<br>'; } return str;},
                "textStyle": {
                    "fontSize": 14
                },
                "borderWidth": 0
            }
        }
    ],
    "legend": [
        {
            "data": [
                "",
                "disease",
                "use",
                "forbid",
                "attention",
                "uneffect",
                "drug"
            ],
            "selected": {
                "": true,
                "disease": true,
                "use": true,
                "forbid": true,
                "attention": true,
                "uneffect": true,
                "drug": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u5e15\u7f57\u897f\u6c40\u76f8\u5173\u77e5\u8bc6\u56fe\u8c31",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_d7c45ed2da92463ebf754a8303f66cbd.setOption(option_d7c45ed2da92463ebf754a8303f66cbd);
    </script>
</body>
</html>
